package cn.tedu.appointment.work.pojo.dto;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;

@Data
public class ApplicationQuery {
    @ApiModelProperty(value = "申请编号")
    private Long  id;
    @ApiModelProperty(value = "员工编号")
    private Long  staffId;
    @ApiModelProperty(value = "开始时间")
    @DateTimeFormat(iso = DateTimeFormat.ISO.DATE_TIME)
    private Date startTime;
    @ApiModelProperty(value = "结束时间")
    @DateTimeFormat(iso = DateTimeFormat.ISO.DATE_TIME)
    private Date endTime;
    @ApiModelProperty(value = "请假状态")
    private String status;
    @ApiModelProperty(value = "员工姓名")
    private String staffName;
    @ApiModelProperty(value = "员工职位")
    private String job;
}
